/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sistemperpustakaan.entity;

/**
 *
 * @author EKo
 */
public class ViewInventaris {
    String inventaris_id;
    int buku_id;
    String no_panggil;
    String isbn;
    String judul;
    String pengarang;
    String penerbit;
    String status;
    Object object;

    public ViewInventaris() {
    }

    public ViewInventaris(String inventaris_id, int buku_id, String no_panggil, String isbn, String judul, String pengarang, String penerbit, String status) {
        this.inventaris_id = inventaris_id;
        this.buku_id = buku_id;
        this.no_panggil = no_panggil;
        this.isbn = isbn;
        this.judul = judul;
        this.pengarang = pengarang;
        this.penerbit = penerbit;
        this.status = status;
    }

    

    

    public Object getObject(int index) {
        switch(index){
            case 0: return inventaris_id;
            case 1: return buku_id;
            case 2: return no_panggil;
            case 3: return isbn;
            case 4: return judul;
            case 5: return pengarang;
            case 6: return penerbit;
            case 7: return status;
        default: return null;
        }
    }

    public int getBuku_id() {
        return buku_id;
    }

    public void setBuku_id(int buku_id) {
        this.buku_id = buku_id;
    }

 

    public String getInventaris_id() {
        return inventaris_id;
    }

    public void setInventaris_id(String inventaris_id) {
        this.inventaris_id = inventaris_id;
    }

    public String getIsbn() {
        return isbn;
    }

    public void setIsbn(String isbn) {
        this.isbn = isbn;
    }

    public String getJudul() {
        return judul;
    }

    public void setJudul(String judul) {
        this.judul = judul;
    }

    public String getNo_panggil() {
        return no_panggil;
    }

    public void setNo_panggil(String no_panggil) {
        this.no_panggil = no_panggil;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    public String getPenerbit() {
        return penerbit;
    }

    public void setPenerbit(String penerbit) {
        this.penerbit = penerbit;
    }

    public String getPengarang() {
        return pengarang;
    }

    public void setPengarang(String pengarang) {
        this.pengarang = pengarang;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

}
